home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000239_schaefer@rbhp56…h-darmstadt.de_Fri Feb 4 14:21:30 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  3KB

  1. Received: from rbhp89.rbg.informatik.th-darmstadt.de by cs.umb.edu with SMTP id AA07801
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Fri, 4 Feb 1994 11:30:39 -0500
  3. Message-Id: <199402041630.AA07801@cs.umb.edu>
  4. Received: from rbhp69.rbg.informatik.th-darmstadt.de by rbhp89.rbg.informatik.th-darmstadt.de with SMTP
  5.     (1.36.108.4/15.6) id AA09259; Fri, 4 Feb 1994 13:22:02 +0100
  6. Received: by rbhp69.rbg.informatik.th-darmstadt.de
  7.     (1.36.108.4/15.6) id AA13153; Fri, 4 Feb 1994 13:21:30 +0100
  8. Date: Fri, 4 Feb 1994 13:21:30 +0100
  9. From: Arno Schaefer <schaefer@rbhp56.rbg.informatik.th-darmstadt.de>
  10. X-Mailer: Mail User's Shell (7.2.5 10/14/92)
  11. To: tex-k@cs.umb.edu
  12. Subject: Problems with kpathsearch
  13.  
  14. Hi,
  15.  
  16. I read the kpathsea.info file and I think I understood the problem
  17. of slow starting programs because of too many stat calls.
  18. This is exactly what happens in my installation - xdvi starts slowly
  19. and I think it is not because of my directory structure.
  20. (btw. the version of kpathsea is 1.5, I'm installing TeX under HPUX 8.00)
  21.  
  22. The default PK path is
  23. #define DEFAULT_PK_PATH ".:/usr/public/lib/texmf/fonts//pk//"
  24.  
  25. Here is some of the debug output:
  26.  
  27. dir_links (/usr/public/lib/texmf/fonts/public/) => 9
  28. dir_links (/usr/public/lib/texmf/fonts/public/cm/) => 5
  29. dir_links (/usr/public/lib/texmf/fonts/public/cm/pk/README/) => -1
  30. dir_links (/usr/public/lib/texmf/fonts/public/cm/pk/cmb10.329pk/) => -1
  31. dir_links (/usr/public/lib/texmf/fonts/public/cm/pk/cmbsy10.300pk/) => -1
  32. dir_links (/usr/public/lib/texmf/fonts/public/cm/pk/cmbsy10.746pk/) => -1
  33.  
  34. ...
  35.  
  36. dir_links (/usr/public/lib/texmf/fonts/public/cm/pk/cmtt8.300pk/) => -1
  37. dir_links (/usr/public/lib/texmf/fonts/public/cm/pk/cmtt9.300pk/) => -1
  38. dir_links (/usr/public/lib/texmf/fonts/public/cm/pk/cmu10.300pk/) => -1
  39. dir_links (/usr/public/lib/texmf/fonts/public/cm/src/) => 2
  40. dir_links (/usr/public/lib/texmf/fonts/public/cm/tfm/) => 2
  41. dir_links (/usr/public/lib/texmf/fonts/public/cm/pk/) => 2
  42. dir_links (/usr/public/lib/texmf/fonts/public/pandora/) => 4
  43.  
  44. ...
  45.  
  46. As you can see, kpathsea stats all font files, although the
  47. .../public/cm/pk directory has no subdirectories. This takes a really
  48. long time on our system.
  49.  
  50. When I remove the two slashes from pk:
  51. #define DEFAULT_PK_PATH ".:/usr/public/lib/texmf/fonts//pk"
  52.  
  53. then the fonts are not stat'd, so I suppose it is not necessary to stat
  54. all font files. I don't think this behavior is intended.
  55.  
  56. Are you already aware of this problem?
  57. Does there exist a patch for this?
  58.  
  59. Thanks for your help,
  60.  
  61. Arno
  62.  
  63. -- 
  64. --------------------------------------------------------------------------------
  65. Arno Schaefer
  66. Technische Hochschule Darmstadt, Fachbereich Informatik
  67. schaefer@rbg.informatik.th-darmstadt.de